package com.coolwen.dao;

import com.coolwen.entity.Majors;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MajorsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Majors record);

    int insertSelective(Majors record);

    Majors selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Majors record);

    int updateByPrimaryKey(Majors record);

    List<Majors> selectInfo(@Param(value = "major") String major);
}